package com.qh.resourcehub.program.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qh.resourcehub.program.dto.SecurityAssessmentDto;
import com.qh.resourcehub.program.entity.SecurityAssessmentDO;
import com.qh.resourcehub.program.vo.SecurityAssessmentVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SecurityAssessmentMapper extends BaseMapper<SecurityAssessmentDO> {
    List<SecurityAssessmentVo> querySecurityAssessmentData(SecurityAssessmentDto securityAssessmentDto);

    List<SecurityAssessmentVo> querySecurityAssessmentExamineData(SecurityAssessmentDto securityAssessmentDto);

    List<SecurityAssessmentVo> querySecurityAssessmentExamineHistoryData(SecurityAssessmentDto securityAssessmentDto);

    int ApplicationSave(SecurityAssessmentDto securityAssessmentDto);

    int ApplicationUpdata(SecurityAssessmentDto securityAssessmentDto);

    int Applicationdel(SecurityAssessmentDto securityAssessmentDto);

    int ApplicationSubmit(SecurityAssessmentDto securityAssessmentDto);

    int ApplicationWithdraw(SecurityAssessmentDto securityAssessmentDto);

    int ApplicationPass(SecurityAssessmentDto securityAssessmentDto);

    int ApplicationReject(SecurityAssessmentDto securityAssessmentDto);
}